#include"stack.h"
void Stack_test1()
{
    ST s;
    STInit(&s);
    STPush(&s, 1);
    STPush(&s, 2);
    STPush(&s, 3);
    STPush(&s, 4);
    printf("%d ", STTop(&s));
    STPop(&s); 
    STPush(&s, 5);
    printf("%d ", STTop(&s));
    STPop(&s);
    while(!STEmpty(&s))
    {
        printf("%d ", STTop(&s));
        STPop(&s);
    }
    printf("\n");
}

int main()
{
    Stack_test1();
    return 0;
}